Suggested Mention List Adapter
SuggestedMentionListAdapter provides a binding from a User type data set to views that are displayed within a RecyclerView. since 3.0.0
Constructors
Functions
Link copied to clipboard
Returns the total number of items in the data set held by the adapter.
Link copied to clipboard
Returns a callback to be invoked when the itemView is clicked.
Link copied to clipboard
Returns a callback to be invoked when the itemView is clicked and held.
Link copied to clipboard
Returns a callback to be invoked when the profile view is clicked.
Link copied to clipboard
open fun onBindViewHolder(@NonNull holder: BaseViewHolder<User>, position: Int)
Content copied to clipboard
Link copied to clipboard
open fun onCreateViewHolder(@NonNull parent: ViewGroup, viewType: Int): BaseViewHolder<User>
Content copied to clipboard
Link copied to clipboard
open fun setOnItemClickListener(@Nullable listener: OnItemClickListener<User>)
Content copied to clipboard
Register a callback to be invoked when the itemView is clicked.
Link copied to clipboard
open fun setOnItemLongClickListener(@Nullable listener: OnItemLongClickListener<User>)
Content copied to clipboard
Register a callback to be invoked when the itemView is clicked and held.
Link copied to clipboard
open fun setOnProfileClickListener(@Nullable profileClickListener: OnItemClickListener<User>)
Content copied to clipboard
Register a callback to be invoked when the profile view is clicked.